#child1{
    background-color: green;
    height: 7em;
    width: 40%;
    /*float: left;*/
    display: inline-block;
    /*margin: 0 auto;*/

}
#child2{
    background-color: red;
    height: 10em;
    width: 40%;
    /*float: left;*/
    display: inline-block;
    /*margin: 0 auto;*/
}

#static{
    height:12em;
    width: 100%;
    background-color: darkgrey;
    opacity:0.5;
    position: fixed;
    top: 0;
}